<?php
$this->start('toolbar');
echo $this->Html->link(
    '<i class="icon-ok icon-white"></i>&nbsp;' . __('Edit'),
    array('controller' => 'exams', 'action' => 'edit', $exam['Exam']['id']),
    array('escape' => false, 'class' => 'btn btn-small btn-success')
);
$this->end();
$datetimeFormat = Configure::read('Setting.datetime_format');
?>
<div class="profile-detail form-horizontal">
    <div class="control-group">
        <div class="control-label"><?php echo __('Class') ?><span class="star">&nbsp;*</span></div>
        <div class="controls"><?php echo $exam['Class']['name'] ?></div>
    </div>
    <div class="control-group">
        <div class="control-label"><?php echo __('Subject') ?><span class="star">&nbsp;*</span></div>
        <div class="controls"><?php echo $exam['Subject']['name'] ?></div>
    </div>
    <div class="control-group">
        <div class="control-label"><?php echo __('Name') ?><span class="star">&nbsp;*</span></div>
        <div class="controls"><?php echo $exam['Exam']['name'] ?></div>
    </div>
    <div class="control-group">
        <div class="control-label"><?php echo __('Question Number') ?></div>
        <div class="controls"><?php echo $exam['Exam']['question_number'] ?></div>
    </div>
    <div class="control-group">
        <div class="control-label"><?php echo __('Password Code') ?></div>
        <div class="controls"><?php echo $exam['Exam']['password_code'] ?></div>
    </div>
</div>
